//
//  ResourceLoaderOldSupport.h
//  AppleCilent
//
//  Created by Nail Sharipov on 02/04/14.
//  Copyright (c) 2014 Nail Sharipov. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "IResorceLoaded.h"
#import "MenuDomain.h"

@interface ResourceData : NSObject

@property (strong, nonatomic) NSArray* menuList;

+ (ResourceData*)getInstance;

-(void)setListener:(NSObject<IResorceLoaded>*) listener;

-(void)load;

-(void)loadNextFile;

-(NSArray*)getLocalFileList;

-(BOOL)isLoaded;

-(void)loadCompleted;

-(void)fileListLoaded: (NSMutableData*) data;

-(void)menuListLoaded: (NSMutableData*) data;

-(void)fileLoaded:(NSString*)filePath;

-(MenuDomain*)getMenuById: (NSInteger) menuId;


@end
